package com.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Description: 登录认证调用
 * @Author: lixing
 * @Date: 2021/6/4 17:28
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
/** 开启Eureka Client */
@EnableDiscoveryClient
/** 开启Feign Client */
@EnableFeignClients(basePackages = {"com.eureka.basefeign"})
public class ApiPayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ApiPayApplication.class, args);
    }
}
